//
//  MQDiscoverTableViewController.swift
//  SinaWeiBo
//
//  Created by 毛强 on 16/1/10.
//  Copyright © 2016年 itheima. All rights reserved.
//

import UIKit

class MQDiscoverTableViewController: MQVistorTableViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        
        if userLogin == false{
            loginView.setupInfo("visitordiscover_image_message", title: "发现----------------发现")
        }else{
            setupUI()
        }
    }
    
    private func setupUI(){
        let searchView = MQDiscoverSearchView.searchView()
        searchView.frame.size.width = SCREENW
        
        navigationItem.titleView = searchView
        
        tabBarItem.badgeValue = "10"
        
    }
}
